<extend name="index::index" />
<block name="title"><title>more</title></block>
<block name="nav">
	<ul class="list-unstyled list">
		<empty name="login">
			<li>
			<a href="{:U('login')}" class="anchorLink"><i class="icon-road scolor"></i>登录</a>
			</li>
			<li>
			<a href="{:U('reg')}" class="anchorLink"><i class="icon-road scolor"></i>注册</a>
			</li>
			<else />
			<li>
			<a href="{:U('User/index',['id'=>$login['id']])}" style="text-transform:none;"><i class="icon-road scolor"></i><span style="color:#fff;">欢迎{$login['name']}</span></a>
			</li>
			<li>
			<a href="{:U('loginout')}" class="anchorLink"><i class="icon-road scolor"></i>退出</a>
			</li>
		</empty>
		<li><a href="{:U('index')}" class="anchorLink"><i class="icon-home scolor"></i>主页</a></li>
	</ul>
</block>
<block name="main">
<div class="team">
	<h3>{$name}</h3>
	<div class="bor hidden-xs"></div>
		<div class="row">
			<foreach name="list" item="val">
				<div class="col-md-3 col-sm-6">
					<!-- Team member's profile  -->
					<div class="thumbnail team-profile">
						<a href="{:U('detail',['id'=>$val['gid']])}"><img src="__ROOT__{$val['giname']}"  alt="" class="img-responsive img-circle" />
						</a>
						<!-- Member's name and designation -->
						<h5>商品名:{$val['gname']}</h5>
						<h5>分类:{$val['cname']}</h5>
						<span>价格:{$val['gp']}</span>
					</div>
				</div>
			</foreach>
		</div>	
	</div>
</block>
	